<template>
  <div class="container">
    <h1 class="animate__animated animate__rollIn" >{{comment}}</h1>
  </div>
</template>

<script>
import axios from "axios";

export default {
  data() {
    return {
      rewardf: false,
      comment:'22'
    };
  },
  created() {
    console.log(this.$route.query.ip);
    axios.get("/api/gamestart/"+this.$route.query.ip).then((res) => {
      this.comment = res.data;
      
    });
  },
  computed: {
    src() {
      return 'http://192.168.1.254:8080/api/material/games/'+this.gamec+'/index.html'
    },
  },
 
};
</script>

<style>
.container{
  height: 100vh;
  display: flex;
  justify-items: center;
  justify-content: center;
}
.ifw{
  width: 100vw;
  height: 70vh;
}
iframe{
  width: 100%;
  height: 100%;
}
</style>
